package com.yaoge.ssm.service.impl;

import com.yaoge.ssm.bean.Student;
import com.yaoge.ssm.dao.IStudentDAO;
import com.yaoge.ssm.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private IStudentDAO studentDAO;

    public List<Student> searchAll() {
        return studentDAO.searchAll();
    }
}
